package com.suse.ecommerce.pojo;

import java.io.Serializable;

public class Address implements Serializable {
    private Long addressId;

    private Integer userId;

    private String province;

    private String city;

    private String country;

    private String street;

    private String name;

    private String phone;

    private static final long serialVersionUID = 1L;

    public Address(Long addressId, Integer userId, String province, String city, String country, String street, String name, String phone) {
        this.addressId = addressId;
        this.userId = userId;
        this.province = province;
        this.city = city;
        this.country = country;
        this.street = street;
        this.name = name;
        this.phone = phone;
    }

    public Address() {
        super();
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street == null ? null : street.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }
}